<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2022\2\16 0016
 * Time: 14:23
 */

 function getNGSTestStatusName ($sample_status)
{
    $sample_status_name='';
    switch ($sample_status) {
        case -1:
            $sample_status_name= '样本录入完成';
            break;
        case 1:
            $sample_status_name = '样本提取完成建库中';
            break;
        case 2:
            $sample_status_name = '文库建立完成';
            break;
        case 3:
            $sample_status_name = '上机测序中';
            break;
        case 4:
            break;
        case 5:
            $sample_status_name = '生信分析完成';
            break;
        case 6:
            $sample_status_name = '数据审阅中';
            break;
        case 7:
            break;
        case 8:
            $sample_status_name = '报告签发完成11';
            break;
        case 9:
            $sample_status_name = '报告签发完成';
            break;
    }
    return $sample_status_name;
}
$sample_status=4;
$res=getNGSTestStatusName($sample_status);
if(!empty($res)){
        echo 99;
}


